package com.yidu.menuProject.service;

import java.util.List;


import com.yidu.menuProject.action.vo.EhyModuleVo;
import com.yidu.menuProject.model.EhyModuleModel;
import com.yidu.menuProject.model.EhyRoleModel;
import com.yidu.menuProject.model.EhyRoleModuleModel;

public interface EhyModuleService {
	
	public int insertSelective(EhyModuleVo vo);
	
	public int updateByPrimaryKeySelective(EhyModuleVo vo);
	
	/**
	 * 删除方法
	 * @param int
	 * @return 
	 */
	public int delete(String string);
	
	
	
	
	/**
	 * 条件查询
	 * @return
	 */
	public List<EhyModuleVo> findByMan(EhyModuleVo vo);
	/**
	 * 根据id查询
	 * @return
	 */
	public EhyModuleVo findById(String id);

	public int deleteByPrimaryKey(String manId);

	
	/**
  	 * 查询所有
  	 * @param vo
  	 * @return
  	 */
  	List<EhyModuleModel> selectAll(EhyModuleVo vo);
  	List<EhyModuleModel> selectModule(EhyModuleVo vo);
  	
  	
  	 /**
     * 查询所有
     * @return
     */
    public int selectCount(EhyModuleVo vo);
	
    public List<EhyRoleModuleModel> selectRoleModule(String roleId);

}
